<?php
namespace Home\Controller;
use Think\Controller;

//个人管理

class UserManageController extends MainController {
    	//重置密码
	public function reset_assword(){
		$this->display();
    }
	
	//个人基本信息管理
	public function personbasic_info(){
	    $user_info = session(C('USER_AUTH_INFO'));
	    $this->assign('user_id',$user_info['tea_id']);
        $this->assign('user_name',$user_info['tea_name']);
        $this->assign('user_sex',$user_info['tea_sex']);
        $this->assign('user_birthday',$user_info['tea_bir']);
        $this->assign('user_zhi',$user_info['tea_zhi']);
        $this->assign('user_phone',$user_info['tea_tel']);
        $this->assign('user_email',$user_info['tea_emai']);
        $this->assign('user_status',$user_info['tea_status']);
        $this->assign('user_nickname',$user_info['tea_nickname']);
        $this->assign('user_qq',$user_info['tea_qq']);
        $this->assign('user_wechat',$user_info['tea_wechat']);
        $this->assign('user_image',$user_info['tea_image']);
        if ($user_info['tea_image'] == null || $user_info['tea_image'] == ''){
            $this->assign('user_image','default_header.png');
        }
        $this->assign('user_intro',$user_info['tea_intro']);
		$this->display();
	}
	
	
	//解绑、绑定手机号
	public function bind_phone(){
		$this->display();
	}	
	
	//解绑、绑定邮箱
	public function bind_email(){
		$this->display();
	}
}



?>